package com.molichuxing.gateway.bff.financial.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 合同
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-11
 */
@Data
public class ContractVo extends ResponseRootDto {
    private static final long serialVersionUID = 6839753636937305973L;

    @ApiModelProperty(value = "合同id")
    private Integer contractId;

    @ApiModelProperty(value = "合同编号")
    private String contractCode;

    @ApiModelProperty(value = "订单编号")
    private Long orderCode;

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty(value = "合同类型（1：主合同，2：补充协议，3：担保合同，4：交车单）")
    private Integer contractType;

    @ApiModelProperty(value = "合同类型Str")
    private String contractTypeStr;

    @ApiModelProperty(value = "合同pdf路径")
    private String contractPath;

    @ApiModelProperty(value = "合同金额")
    private BigDecimal contractMoney;

    @ApiModelProperty(value = "签订时间")
    private LocalDateTime signedTime;

    @ApiModelProperty(value = "到期日期")
    private LocalDate endTime;

    @ApiModelProperty(value = "生效日期")
    private LocalDate effectiveTime;

    @ApiModelProperty(value = "合同状态（1：生效中，2：自然失效，3：协商失效）")
    private Integer contractStatus;

    @ApiModelProperty(value = "合同状态Str")
    private String contractStatusStr;

    @ApiModelProperty(value = "用户姓名")
    private String realName;

    @ApiModelProperty(value = "商品品类（1：订阅里程，2：专属里程）")
    private Integer businessType;

    @ApiModelProperty(value = "商品品类Str")
    private String businessTypeStr;

}
